#ifndef CTITLEBAR_H
#define CTITLEBAR_H

#include <QObject>
#include <QWidget>
#include <QLabel>
#include <QPushButton>
class CTitleBar : public QWidget
{
    Q_OBJECT
public:
    explicit CTitleBar(QWidget *parent = nullptr);
     void onClickedSlot();
signals:
      void sigClose();
private:
   void initUI();
private:
   QLabel * _plogoLabel;
   QLabel * _ptitleTextLabel;
   QPushButton * _psetButton;
   QPushButton * _pminButton;
   QPushButton * _pmaxButton;
   QPushButton * _pcloseButton;
   QPushButton * _pmonitorButton;
   QPushButton * _pbackplayButton;
};


#endif // CTITLEBAR_H
